package com.CST.request;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

@ApiModel(value = "成本-薪酬对应")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("Rule_CompelAmortization")
public class RdCostsalaryrelationrequest {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "工资项目编号")
    private String salaryItemCode;

    @ApiModelProperty(value = "工资项目名称")
    private String salaryItemName;

    @ApiModelProperty(value = "费用要素编号")
    private String costItemCode;

    @ApiModelProperty(value = "费用要素名称")
    private String costItemName;

    @ApiModelProperty(value = "账套ID")
    @ExcelProperty(value = "RuleCode")
    @TableField("RuleCode")
    private String ruleCode;

    @ApiModelProperty(value = "扩展字段1")
    @ExcelProperty(value = "ExtendField1")
    @TableField("ExtendField1")
    private String extendField1;

    @ApiModelProperty(value = "扩展字段22")
    @ExcelProperty(value = "ExtendField2")
    @TableField("ExtendField1")
    private String extendField2;

    @ApiModelProperty(value = "账套")
    @ExcelProperty(value = "ExtendField2")
    @TableField("ExtendField2")
    private String extendField3;
}
